﻿<%@ Assembly Name="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Assembly Name="SharePoint.ImportExport.MigrationSuite, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9f4da00116c38ec5" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormSection" src="~/_controltemplates/InputFormSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormControl" src="~/_controltemplates/InputFormControl.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ButtonSection" src="~/_controltemplates/ButtonSection.ascx" %>
<%@ Register Tagprefix="wssawc" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="wssuc" TagName="TemplatePickerControl" src="~/_controltemplates/TemplatePickerControl.ascx" %>

<%@ Page Language="C#" MasterPageFile="~/_layouts/application.master"  
         Inherits="SharePoint.ImportExport.MigrationSuite.ExportSettings"
         EnableViewState="true" EnableViewStateMac="true"%>

<%@ Register Tagprefix="SharePoint" 
             Namespace="Microsoft.SharePoint.WebControls" 
             Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
             
<%@ Register Tagprefix="Utilities" 
             Namespace="Microsoft.SharePoint.Utilities" 
             Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
             

<asp:Content ID="Main" contentplaceholderid="PlaceHolderMain" runat="server">
 <table class=propertysheet border="0" width="100%" cellspacing="0" cellpadding="0" id="diidProjectPageOverview">

 <wssuc:InputFormSection Title="Export directory"
			Description="This operation will export data from the current site collection to either the predefined directory or to the specified File share defined as a UNC path (\\SERVER\Share)"
			runat="server">
	   <Template_InputFormControls>
			<wssuc:InputFormControl LabelText="Directory" runat="server">
				 <Template_Control>
		            <asp:DropDownList ID="drpDestinationDirectories" runat="server" AutoPostBack="true"  />
		            <asp:TextBox ID="txtDirName" runat="server" Enabled="true" height=20/>
				 </Template_Control>
			</wssuc:InputFormControl>
			<wssuc:InputFormControl LabelText="or UNC Path" runat="server">
				 <Template_Control>
		            <asp:TextBox ID="txtUncPath" runat="server" Enabled="true" height=20 width="250"/>
				 </Template_Control>
			</wssuc:InputFormControl>
			<wssuc:InputFormControl LabelText="Compress data" runat="server">
				 <Template_Control>
		            <asp:CheckBox ID="chkCompress" runat="server" Enabled="true" height=20/>
				 </Template_Control>
			</wssuc:InputFormControl>
	   </Template_InputFormControls>
 </wssuc:InputFormSection>
 <wssuc:InputFormSection Title="Exported site information"
			Description="Specify the new site name and the new owner of the site. If you want to import a site to the same environment but with a different name specify it here. For example if you want to have a new site called New Site you would enter New Site in the Site name field. If you omit this information the site will be exported using the same name. You can also optionally specify the new site definition (template of site) to use."
			runat="server">
	   <Template_InputFormControls>
			
			<wssuc:InputFormControl LabelText="New site name" runat="server">
				 <Template_Control>
		            <asp:TextBox ID="txtSiteName" runat="server" Enabled="true"/>
				 </Template_Control>
			</wssuc:InputFormControl>
						<wssuc:InputFormControl LabelText="Owner" runat="server">
				<Template_Control>
					<wssawc:PeopleEditor
						  SelectionSet="User"
						  AllowEmpty=false
						  ValidatorEnabled="true"
						  SingleLine=true
						  MultiSelect=false
						  id="userPicker"
						  runat="server"
								/>
				</Template_Control>
			</wssuc:InputFormControl>
	   </Template_InputFormControls>
 </wssuc:InputFormSection>
 <wssuc:InputFormSection Title="Export criteria"
			Description="Specify the criteria to be used when exporting the content"
			runat="server">
	   <Template_InputFormControls>
			<wssuc:InputFormControl LabelText="Export options" runat="server">
				 <Template_Control>
				    <asp:CheckBox Text="Include content from sub sites" ID="chkIncludeSubsites" runat="server" enabled="true" Checked="TRUE" /><P></P>
				    <asp:CheckBox Text="Include user information" ID="chkIncludeUsers" runat="server" enabled="true" Checked="TRUE"/><P></P>
				    <asp:CheckBox Text="Include version info" ID="chkIncludeVersions" runat="server" enabled="true" /><P></P>
				    <asp:CheckBox Text="Include design elements (customized pages, aspx files)" ID="chkIncludeDesignElements" runat="server"  enabled="true" />
				 </Template_Control>
			</wssuc:InputFormControl>
			
			<wssuc:InputFormControl LabelText="Export content only from the following List/library" runat="server">
				 <Template_Control>
		            <asp:TextBox ID="txtListName" runat="server" Enabled="true"/>
				 </Template_Control>
			</wssuc:InputFormControl>
			<wssuc:InputFormControl LabelText="Export content only from the following folder" runat="server">
				 <Template_Control>
		            <asp:TextBox ID="txtFolder" runat="server" Enabled="true"/>
				 </Template_Control>
			</wssuc:InputFormControl>

			<wssuc:InputFormControl LabelText="Export item newer than" runat="server">
				 <Template_Control>
				    <asp:CheckBox ID="chkDateFilter" Text="Use date filter" runat="server"  enabled="true" />
		            <wssawc:DateTimeControl id="dtcTime" CalendarImageUrl="/_layouts/images/calendar.gif" DatePickerFrameUrl="/_layouts/iframe.aspx" runat="server"/>
				 </Template_Control>
			</wssuc:InputFormControl>
			<wssuc:InputFormControl LabelText="Export item older than" runat="server">
			    <Template_Control>
			        <asp:CheckBox ID="chkDateFilter2" Text="Use date filter" runat="server"  enabled="true" />
			        <wssawc:DateTimeControl id="dtcTime2" CalendarImageUrl="/_layouts/images/calendar.gif"	DatePickerFrameUrl="/_layouts/iframe.aspx"	runat="server"/>
			    </Template_Control>
			</wssuc:InputFormControl>
	   </Template_InputFormControls>

 </wssuc:InputFormSection>
 <wssuc:InputFormSection Title="Advanced Export options"
			Description=""
			runat="server">
	   <Template_InputFormControls>
            <wssuc:InputFormSection Title="Rebase Site"	Description="Choose the new site template to use. If you want to import the content using a new template mark the checkbox and choose the template from the list. By not checking the Use Template checkbox this setting will be ignored"	runat="server">
                <Template_InputFormControls>
				    <asp:CheckBox ID="chkUseTemplate" Text="Use template" runat="server"  enabled="true" />
	                <wssuc:TemplatePickerControl id="inputFormTemplatePickerControl" runat="server" ShowSubWebOnly="false" ShowCustomTemplates="false" />
	            </Template_InputFormControls>
            </wssuc:InputFormSection>
			<wssuc:InputFormControl LabelText="Operation status" runat="server">
				 <Template_Control>
		    <asp:Label ID="lblStatus" runat="server" />
				 </Template_Control>
			</wssuc:InputFormControl>

	   </Template_InputFormControls>
 </wssuc:InputFormSection>
  <wssuc:ButtonSection runat="server" ShowStandardCancelButton="false">
	   <Template_Buttons>
		  <asp:Button  ID="btnExport" runat="server" Text="Export"  ></asp:Button>&nbsp;
		  <asp:Button  ID="btnBack" runat="server" Text="Back" ></asp:Button>&nbsp;
		  
	   </Template_Buttons>
 </wssuc:ButtonSection>

 </table>
	

</asp:Content>

<asp:Content ID="Content1" contentplaceholderid="PlaceHolderPageTitle" runat="server">
		<SharePoint:EncodedLiteral ID="EncodedLiteral1" runat="server" text="Export" EncodeMethod='HtmlEncode'/>
</asp:Content>
<asp:Content ID="Content2" contentplaceholderid="PlaceHolderPageTitleInTitleArea" runat="server">
	<asp:literal ID="Literal1" text='Export this site' runat="server"/>
</asp:Content>

